package com.ruoyi.system.service;
import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.system.entity.PreventionSafetyPromise;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.util.List;

/**
 * <p>
 * 安全承诺卡 服务类
 * @since 2023-03-10
 */
public interface PreventionSafetyPromiseService{

    List<PreventionSafetyPromise> queryByPage(PreventionSafetyPromise preventionSafetyPromise);

    PreventionSafetyPromise queryById(Integer id);

    PreventionSafetyPromise insert(PreventionSafetyPromise preventionSafetyPromise);

    PreventionSafetyPromise update(PreventionSafetyPromise preventionSafetyPromise);

    boolean deleteById(Integer id);

    AjaxResult fillPDFData(Integer id, HttpServletRequest request, HttpServletResponse response);
}
